
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '行程明细',
    enableValidate: true
})

@Injectable()
export class Newobject1C6qpComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'code',
        name: "{{code_dd1a198a_reer}}",
        binding: 'code',
        updateOn: 'blur',
        defaultI18nValue: '行程编号',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    code: FormControl;

    @NgFormControl({
        id: 'note',
        name: "{{note_2150900e_1h8o}}",
        binding: 'note',
        updateOn: 'blur',
        defaultI18nValue: '行程相关备注',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    note: FormControl;

    @NgFormControl({
        id: 'creator',
        name: "{{creator_b7a0267a_c6hp}}",
        binding: 'creator',
        updateOn: 'blur',
        defaultI18nValue: '创建人',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    creator: FormControl;

    @NgFormControl({
        id: 'createdDate',
        name: "{{createdDate_cd78225f_mo1x}}",
        binding: 'createdDate',
        updateOn: 'blur',
        defaultI18nValue: '创建时间',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    createdDate: FormControl;

    @NgFormControl({
        id: 'kssj',
        name: "{{kssj_35b64be0_eq84}}",
        binding: 'kssj',
        updateOn: 'blur',
        defaultI18nValue: '开始时间',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    kssj: FormControl;

    @NgFormControl({
        id: 'endingdate',
        name: "{{endingdate_99557baa_718g}}",
        binding: 'endingdate',
        updateOn: 'blur',
        defaultI18nValue: '结束时间',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    endingdate: FormControl;

    @NgFormControl({
        id: 'cxfs',
        name: "{{cxfs_05f75f11_je1i}}",
        binding: 'cxfs',
        updateOn: 'blur',
        defaultI18nValue: '出行方式',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    cxfs: FormControl;

    @NgFormControl({
        id: 'cxje',
        name: "{{cxje_c211f483_m1ua}}",
        binding: 'cxje',
        updateOn: 'blur',
        defaultI18nValue: '出行金额',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    cxje: FormControl;

    @NgFormControl({
        id: 'sfybt',
        name: "{{sfybt_3a7d501f_0tuy}}",
        binding: 'sfybt',
        updateOn: 'blur',
        defaultI18nValue: '是否有补贴',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    sfybt: FormControl;

    @NgFormControl({
        id: 'btbz',
        name: "{{btbz_c90d1fb5_63d2}}",
        binding: 'btbz',
        updateOn: 'blur',
        defaultI18nValue: '补贴标准',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    btbz: FormControl;

}